package cn.zj.note.todo;

import cn.zj.note.util.DateUtil;

import java.time.LocalDateTime;

public class Record {
    private String content;
    private LocalDateTime createTime;

    public Record(String content) {
        this.content = content;
        this.createTime = DateUtil.curLocalDateTime();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
